#include <stdio.h>

int main(void){
	int d=1,N,out=1;
	scanf("%d", &N);
	int g[N];
	int *p = g;
	while ( p<(g+N) ){
		scanf(" %d", p++);
	}
	for ( p=&g[1];p<(g+N);p++ ){
		if ( *p>*(p-1) ){
			d++;
		}else{
			out=out>d?out:d;
			d=1;
		}
	}
	out=out>d?out:d;
	printf("%d",out);
	return 0;
}
